package com.lcf.system.enums;

import lombok.Getter;

/**
 * 描述：订单状态1待付款2待发货3待收货4待评价5已退款
 *
 * @author lcf
 * @since 2025/3/5 15:57
 */
@Getter
public enum OrderStatusEnum {
    /**
     * 待付款
     */
    WAIT_PAY(1, "待付款"),
    /**
     * 待发货
     */
    WAIT_DELIVER(2, "待发货"),
    /**
     * 待收货
     */
    WAIT_RECEIVE(3, "待收货"),
    /**
     * 待评价
     */
    WAIT_EVALUATE(4, "待评价"),
    /**
     * 已退款
     */
    REFUNDED(5, "已退款");

    private final int value;
    private final String name;

    OrderStatusEnum(int value, String name) {
        this.value = value;
        this.name = name;
    };
}
